package com.lc.mapper;

import java.util.regex.Pattern;

/**
 * @author liuc
 * @date 2021/5/5
 * @description servlet的封装
 **/
public class Wrapper {
    private String url;
    private Pattern pattern;
    private Servlet servlet;

    public Wrapper(String url, Servlet servlet) {
        this.url = url;
        this.servlet = servlet;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Pattern getPattern() {
        return pattern;
    }

    public void setPattern(Pattern pattern) {
        this.pattern = pattern;
    }

    public Servlet getServlet() {
        return servlet;
    }

    public void setServlet(Servlet servlet) {
        this.servlet = servlet;
    }
}
